/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Tools;

/**
 *
 * @author couillu
 */
public class JDOMManagerTestManual {
    
   public static void main(String[] args)
   {
     
      JDOMManager jd = new JDOMManager("saveRobotLion");
       
      if (jd.addRobot("chenille_V1","10","5"))
          System.out.println("Robot ajouté!");

      if (jd.addRobot("chenille_V2","20","5"))
          System.out.println("Robot ajouté!");
      
       if (jd.addRobot("chenille_V2","20","8"))
          System.out.println("Robot ajouté!");
       
      //Les deux méthodes qui suivent seront définies plus loin dans l'article
      jd.print();
      jd.save();
      
      JDOMManager jd2 = new JDOMManager("saveRobotLionBis");
      jd2.print();
      
      JDOMManager jd3 = new JDOMManager("saveRobotLion");
      jd3.print();

   }
}
